//
//  PerFristTableViewCell.m
//  Ecrm
//
//  Created by ZHC on 16/3/16.
//  Copyright © 2016年 ZHC. All rights reserved.
//

#import "PerFristTableViewCell.h"

@implementation PerFristTableViewCell

//-(instancetype)init{
//    self = [[[NSBundle mainBundle] loadNibNamed:@"PerFristTableViewCell" owner:nil options:nil] lastObject];
//    if (self) {
//        
//    }
//    return self;
//}

-(void)setModel:(PerFristBodyModel *)model{
    _model = model;

    self.icon.image = [UIImage imageNamed:model.icon];
    self.name.text = model.name;
    self.value.text = model.value;
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
